package modelLayer;

public class TeachingBlock {
	
	private String id;
	private String name;
	private ClassRoom classRoom;
	private Class cs; 
	private Subject subject;
	
	
	public TeachingBlock(Class cs, Subject subject, ClassRoom classRoom) {
		
		this.setClassRoom(classRoom);
		this.setCs(cs);
		this.setSubject(subject);
	}

	public ClassRoom getClassRoom() {
		
		return this.classRoom;
	
	}

	public void setID(String id) {
		
		this.id = id;
		
	}
	
	public String getID() {
		
		return this.id;
		
	}
	
	public void setClassRoom(ClassRoom classRoom) {
	
		this.classRoom = classRoom;
	
	}

	public Class getCs() {
	
		return this.cs;
	
	}

	public void setCs(Class cs) {
	
		this.cs = cs;
	
	}

	public Subject getSubject() {
	
		return this.subject;
	
	}

	public void setSubject(Subject subject) {
	
		this.subject = subject;
	
	}

	/*public Teacher getTeacher() {
	
		return this.teacher;
	
	}

	public void setTeacher(Teacher teacher) {
	
		this.teacher = teacher;
	
	}*/

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return  id + "/" + classRoom;
	}
	
	
	
}
